package com.redis.nxj.dao;

import com.redis.nxj.pojo.Emp;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author ningxinjie
 * @date 2021/3/29
 */

public interface EmpDao {
    List<Emp> queryAllEmp();

    int delEmpById(Integer id);
}
